# 九九乘法表
# for x in range(1,10):
#     for y in range(1,x+1):
#         print(f"{y}*{x}={x*y}",end="\t")
#     print()
#
# l1 = [3,4,5,5,6]
# l2 = [4,5,6,7,8]
# for i in l1:
#     if i in l2:
#         print(f"{i}是相同元素")
#
# 创建集合
# a = set("zhou yong qing")
# print(type(a))
# print(a)
# print(list(a))
#
# 添加元素
# b = {1,3,4,55,4,65,"周"}
# print(b)
# b.add("yong")
# print(b)
#
# 删除元素
c = {1,2,3,4,56,7,8,9,"zhikad","gasdhsbd","nsjchs","mksmvcd"}
c.remove(1)
print(c)
d = c.pop()
print(d)

# 清空集合
e = {1,2,34,5,56,89}
e.clear()
print(e)


